package com.ujiuye.Service;

import com.ujiuye.entity.Student;
import com.ujiuye.util.PackageUtil;

import java.util.List;

public interface StudentService {
    List<Student> getAllS();

    int getCountRows();

    List<Student> getStudentByPage(PackageUtil p);

    boolean addStudent(Student stu);

    boolean delStudent(int sid);

    Student getStudentById(int sid);

    boolean editStudent(Student stu);
    int getCountRowsBySname(String sname);
    List<Student> getStudentBySname(PackageUtil pu,String sname);
}

